package com.deyuanyun.pic.pbf.service.impl;


import com.deyuanyun.pic.pbf.domain.TrenchBackPill;
import com.deyuanyun.pic.pbf.mapper.TrenchBackPillMapper;
import com.deyuanyun.pic.pbf.service.TrenchBackPillService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TrenchBackPillServiceImpl implements TrenchBackPillService {
    @Autowired
    private TrenchBackPillMapper trenchBackPillMapper;

    private static final Logger logger = LoggerFactory.getLogger(TrenchBackPillServiceImpl.class);

    public TrenchBackPill selectByPrimaryKey(String id) {
        return this.trenchBackPillMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.trenchBackPillMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TrenchBackPill record) {
        return this.trenchBackPillMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TrenchBackPill record) {
        return this.trenchBackPillMapper.updateByPrimaryKey(record);
    }

    public int insert(TrenchBackPill record) {
        return this.trenchBackPillMapper.insert(record);
    }
}